﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!doctype html>
<html>

<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>商品列表</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.min.css" type="text/css"/>
    <script src="${pageContext.request.contextPath}/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js" type="text/javascript"></script>
    <!-- 引入自定义css文件 style.css -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" type="text/css"/>

    <style>
        body {
            margin-top: 20px;
            margin: 0 auto;
            width: 100%;
        }

        .carousel-inner .item img {
            width: 100%;
            height: 300px;
        }
    </style>
</head>

<body>
<%@ include file="header.jsp" %>
<%--分页对象中有数据，则分页展示--%>
<div class="row" style="width:1210px;margin:0 auto;">
    <div class="col-md-12">
        <ol class="breadcrumb">
            <li><a href="#">首页</a></li>
        </ol>
    </div>

    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10001.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>冬瓜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>

    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10002.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>圆白菜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>

    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10003.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>甜玉米</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>

    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10004.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>胡萝卜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10005.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>芹菜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>

    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10006.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>韭菜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>

    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10007.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>香菜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10008.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>土豆</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10007.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>香菜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10008.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>土豆</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10007.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>香菜</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
    <div class="col-md-2">
        <a href="${pageContext.request.contextPath}/jsp/product_info.jsp">
            <img src="${pageContext.request.contextPath}/products/1/cs10008.jpg" width="170" height="170"
                 style="display: inline-block;">
        </a>
        <p><a href="${pageContext.request.contextPath}/jsp/product_info.jsp" style='color:green'>土豆</a></p>
        <p><font color="#FF0000">商城价：&yen;299.00</font></p>
    </div>
</div>

<%--分页对象中没有数据，给出提示--%>
<div style="position: absolute; right: 40%; top: 30%">
    <h1 style="color: #419641"></h1>
</div>

<!--分页 -->
<div style="width:380px;margin:0 auto;margin-top:50px;">
    <ul class="pagination" style="text-align:center; margin-top:10px;">
        <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
        <li class="active"><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
        <li><a href="#">6</a></li>
        <li><a href="#">7</a></li>
        <li><a href="#">8</a></li>
        <li><a href="#">9</a></li>
        <li><a href="#" aria-label="Next"><span aria-hidden="true">&raquo;</span></a></li>
    </ul>
</div>
<!-- 分页结束=======================        -->

<div style="text-align: center;margin-top: 5px; position: absolute;bottom: 0;left: 600px">
    <ul class="list-inline">
        <li><a>关于我们</a></li>
        <li><a>联系我们</a></li>
        <li><a>招贤纳士</a></li>
        <li><a>法律声明</a></li>
        <li><a>友情链接</a></li>
        <li><a target="_blank">支付方式</a></li>
        <li><a target="_blank">配送方式</a></li>
        <li><a>服务声明</a></li>
        <li><a>广告声明</a></li>
    </ul>
	<div style="text-align: center;margin-top: 5px;margin-bottom:20px;">
		Copyright &copy; 2005-2016 传智商城 版权所有
	</div>
</div>



</body>

</html>